package shopsim.gui;

public class GUIConsumerThread extends Thread{

	private boolean keepAlive;
	
	public GUIConsumerThread(){
		
	}
		
	public void run(){
		GUIConsumer consumer = new GUIConsumer();
		keepAlive = true;
		
		while(keepAlive){
			consumer.go();
		}
	}
	
	public void stopThread(){
		keepAlive = false;
	}
}
